<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>

   <extension
         point="org.eclipse.ui.views">
      <category
            name="SVConnect"
            id="SVConnectPlugin">
      </category>
      <view
            name="Service References"
            icon="icons/svc_if_icon.png"
            category="SVConnectPlugin"
            class="com.svconnect.plugin.views.ServiceReferenceView"
            id="com.svconnect.plugin.views.ServiceReferenceView">
      </view>
   </extension>
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension
            targetID="org.eclipse.jdt.ui.JavaPerspective">
         <view
               ratio="0.5"
               relative="org.eclipse.ui.views.TaskList"
               relationship="right"
               id="com.svconnect.plugin.views.ServiceReferenceView">
         </view>
      </perspectiveExtension>
   </extension>
   <extension
         point="org.eclipse.help.contexts">
      <contexts
            file="contexts.xml">
      </contexts>
   </extension>
   <extension
         point="org.eclipse.ui.preferencePages">
      <page
            class="com.svconnect.plugin.preferences.SVConnectPreferences"
            id="com.svconnect.plugin.preferences.SVConnect"
            name="SVConnect">
      </page>
   </extension>
   <extension
         point="org.eclipse.core.runtime.preferences">
      <initializer
            class="com.svconnect.plugin.preferences.PreferenceInitializer">
      </initializer>
   </extension>
      <extension
         point="org.eclipse.ui.menus">
      <menuContribution
            locationURI="popup:org.eclipse.jdt.ui.PackageExplorer">
         <command
               commandId="com.svconnect.plugin.addservicereference"
               label="Add Service Reference"
               icon="icons/svc_if_icon.png"
               style="push">
               <visibleWhen
                  checkEnabled="false">
               <with variable="activeMenuSelection">
                  <iterate
                        ifEmpty="false"
                        operator="or">
                     <adapt type="org.eclipse.core.resources.IProject">
                     </adapt>
                  </iterate>
               </with>
            </visibleWhen>
         </command>
      </menuContribution>
   </extension>
   <extension
         point="org.eclipse.ui.commands">
      <command
            defaultHandler="com.svconnect.plugin.handlers.AddServiceReference"
            id="com.svconnect.plugin.addservicereference"
            name="AddServiceReference">
      </command>
   </extension>

</plugin>
